﻿using SqlSugar;
namespace IMES.Entity
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("sarole")]
    public class Role : BaseEntity
    {
         /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Name"    )]
         public string Name { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="IsAdmin"    )]
         public bool IsAdmin { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Usable"    )]
         public bool? Usable { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "备注", ColumnDataType = "nvarchar(max)")]
        public string? Remark { get; set; }
    }
}
